package com.diploma.interaction.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DmQxSwrysfTestExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DmQxSwrysfTestExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSwrysfDmIsNull() {
            addCriterion("SWRYSF_DM is null");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmIsNotNull() {
            addCriterion("SWRYSF_DM is not null");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmEqualTo(Object value) {
            addCriterion("SWRYSF_DM =", value, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmNotEqualTo(Object value) {
            addCriterion("SWRYSF_DM <>", value, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmGreaterThan(Object value) {
            addCriterion("SWRYSF_DM >", value, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmGreaterThanOrEqualTo(Object value) {
            addCriterion("SWRYSF_DM >=", value, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmLessThan(Object value) {
            addCriterion("SWRYSF_DM <", value, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmLessThanOrEqualTo(Object value) {
            addCriterion("SWRYSF_DM <=", value, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmIn(List<Object> values) {
            addCriterion("SWRYSF_DM in", values, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmNotIn(List<Object> values) {
            addCriterion("SWRYSF_DM not in", values, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmBetween(Object value1, Object value2) {
            addCriterion("SWRYSF_DM between", value1, value2, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andSwrysfDmNotBetween(Object value1, Object value2) {
            addCriterion("SWRYSF_DM not between", value1, value2, "swrysfDm");
            return (Criteria) this;
        }

        public Criteria andRysfmcIsNull() {
            addCriterion("RYSFMC is null");
            return (Criteria) this;
        }

        public Criteria andRysfmcIsNotNull() {
            addCriterion("RYSFMC is not null");
            return (Criteria) this;
        }

        public Criteria andRysfmcEqualTo(Object value) {
            addCriterion("RYSFMC =", value, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcNotEqualTo(Object value) {
            addCriterion("RYSFMC <>", value, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcGreaterThan(Object value) {
            addCriterion("RYSFMC >", value, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcGreaterThanOrEqualTo(Object value) {
            addCriterion("RYSFMC >=", value, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcLessThan(Object value) {
            addCriterion("RYSFMC <", value, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcLessThanOrEqualTo(Object value) {
            addCriterion("RYSFMC <=", value, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcIn(List<Object> values) {
            addCriterion("RYSFMC in", values, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcNotIn(List<Object> values) {
            addCriterion("RYSFMC not in", values, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcBetween(Object value1, Object value2) {
            addCriterion("RYSFMC between", value1, value2, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andRysfmcNotBetween(Object value1, Object value2) {
            addCriterion("RYSFMC not between", value1, value2, "rysfmc");
            return (Criteria) this;
        }

        public Criteria andSwryDmIsNull() {
            addCriterion("SWRY_DM is null");
            return (Criteria) this;
        }

        public Criteria andSwryDmIsNotNull() {
            addCriterion("SWRY_DM is not null");
            return (Criteria) this;
        }

        public Criteria andSwryDmEqualTo(Object value) {
            addCriterion("SWRY_DM =", value, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmNotEqualTo(Object value) {
            addCriterion("SWRY_DM <>", value, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmGreaterThan(Object value) {
            addCriterion("SWRY_DM >", value, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmGreaterThanOrEqualTo(Object value) {
            addCriterion("SWRY_DM >=", value, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmLessThan(Object value) {
            addCriterion("SWRY_DM <", value, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmLessThanOrEqualTo(Object value) {
            addCriterion("SWRY_DM <=", value, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmIn(List<Object> values) {
            addCriterion("SWRY_DM in", values, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmNotIn(List<Object> values) {
            addCriterion("SWRY_DM not in", values, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmBetween(Object value1, Object value2) {
            addCriterion("SWRY_DM between", value1, value2, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSwryDmNotBetween(Object value1, Object value2) {
            addCriterion("SWRY_DM not between", value1, value2, "swryDm");
            return (Criteria) this;
        }

        public Criteria andSfyxqqIsNull() {
            addCriterion("SFYXQQ is null");
            return (Criteria) this;
        }

        public Criteria andSfyxqqIsNotNull() {
            addCriterion("SFYXQQ is not null");
            return (Criteria) this;
        }

        public Criteria andSfyxqqEqualTo(Date value) {
            addCriterion("SFYXQQ =", value, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqNotEqualTo(Date value) {
            addCriterion("SFYXQQ <>", value, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqGreaterThan(Date value) {
            addCriterion("SFYXQQ >", value, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqGreaterThanOrEqualTo(Date value) {
            addCriterion("SFYXQQ >=", value, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqLessThan(Date value) {
            addCriterion("SFYXQQ <", value, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqLessThanOrEqualTo(Date value) {
            addCriterion("SFYXQQ <=", value, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqIn(List<Date> values) {
            addCriterion("SFYXQQ in", values, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqNotIn(List<Date> values) {
            addCriterion("SFYXQQ not in", values, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqBetween(Date value1, Date value2) {
            addCriterion("SFYXQQ between", value1, value2, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqqNotBetween(Date value1, Date value2) {
            addCriterion("SFYXQQ not between", value1, value2, "sfyxqq");
            return (Criteria) this;
        }

        public Criteria andSfyxqzIsNull() {
            addCriterion("SFYXQZ is null");
            return (Criteria) this;
        }

        public Criteria andSfyxqzIsNotNull() {
            addCriterion("SFYXQZ is not null");
            return (Criteria) this;
        }

        public Criteria andSfyxqzEqualTo(Date value) {
            addCriterion("SFYXQZ =", value, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzNotEqualTo(Date value) {
            addCriterion("SFYXQZ <>", value, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzGreaterThan(Date value) {
            addCriterion("SFYXQZ >", value, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzGreaterThanOrEqualTo(Date value) {
            addCriterion("SFYXQZ >=", value, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzLessThan(Date value) {
            addCriterion("SFYXQZ <", value, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzLessThanOrEqualTo(Date value) {
            addCriterion("SFYXQZ <=", value, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzIn(List<Date> values) {
            addCriterion("SFYXQZ in", values, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzNotIn(List<Date> values) {
            addCriterion("SFYXQZ not in", values, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzBetween(Date value1, Date value2) {
            addCriterion("SFYXQZ between", value1, value2, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfyxqzNotBetween(Date value1, Date value2) {
            addCriterion("SFYXQZ not between", value1, value2, "sfyxqz");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmIsNull() {
            addCriterion("SFSWJG_DM is null");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmIsNotNull() {
            addCriterion("SFSWJG_DM is not null");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmEqualTo(Object value) {
            addCriterion("SFSWJG_DM =", value, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmNotEqualTo(Object value) {
            addCriterion("SFSWJG_DM <>", value, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmGreaterThan(Object value) {
            addCriterion("SFSWJG_DM >", value, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmGreaterThanOrEqualTo(Object value) {
            addCriterion("SFSWJG_DM >=", value, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmLessThan(Object value) {
            addCriterion("SFSWJG_DM <", value, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmLessThanOrEqualTo(Object value) {
            addCriterion("SFSWJG_DM <=", value, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmIn(List<Object> values) {
            addCriterion("SFSWJG_DM in", values, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmNotIn(List<Object> values) {
            addCriterion("SFSWJG_DM not in", values, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmBetween(Object value1, Object value2) {
            addCriterion("SFSWJG_DM between", value1, value2, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andSfswjgDmNotBetween(Object value1, Object value2) {
            addCriterion("SFSWJG_DM not between", value1, value2, "sfswjgDm");
            return (Criteria) this;
        }

        public Criteria andYxbzIsNull() {
            addCriterion("YXBZ is null");
            return (Criteria) this;
        }

        public Criteria andYxbzIsNotNull() {
            addCriterion("YXBZ is not null");
            return (Criteria) this;
        }

        public Criteria andYxbzEqualTo(Object value) {
            addCriterion("YXBZ =", value, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzNotEqualTo(Object value) {
            addCriterion("YXBZ <>", value, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzGreaterThan(Object value) {
            addCriterion("YXBZ >", value, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzGreaterThanOrEqualTo(Object value) {
            addCriterion("YXBZ >=", value, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzLessThan(Object value) {
            addCriterion("YXBZ <", value, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzLessThanOrEqualTo(Object value) {
            addCriterion("YXBZ <=", value, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzIn(List<Object> values) {
            addCriterion("YXBZ in", values, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzNotIn(List<Object> values) {
            addCriterion("YXBZ not in", values, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzBetween(Object value1, Object value2) {
            addCriterion("YXBZ between", value1, value2, "yxbz");
            return (Criteria) this;
        }

        public Criteria andYxbzNotBetween(Object value1, Object value2) {
            addCriterion("YXBZ not between", value1, value2, "yxbz");
            return (Criteria) this;
        }

        public Criteria andXgrDmIsNull() {
            addCriterion("XGR_DM is null");
            return (Criteria) this;
        }

        public Criteria andXgrDmIsNotNull() {
            addCriterion("XGR_DM is not null");
            return (Criteria) this;
        }

        public Criteria andXgrDmEqualTo(Object value) {
            addCriterion("XGR_DM =", value, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmNotEqualTo(Object value) {
            addCriterion("XGR_DM <>", value, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmGreaterThan(Object value) {
            addCriterion("XGR_DM >", value, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmGreaterThanOrEqualTo(Object value) {
            addCriterion("XGR_DM >=", value, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmLessThan(Object value) {
            addCriterion("XGR_DM <", value, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmLessThanOrEqualTo(Object value) {
            addCriterion("XGR_DM <=", value, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmIn(List<Object> values) {
            addCriterion("XGR_DM in", values, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmNotIn(List<Object> values) {
            addCriterion("XGR_DM not in", values, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmBetween(Object value1, Object value2) {
            addCriterion("XGR_DM between", value1, value2, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrDmNotBetween(Object value1, Object value2) {
            addCriterion("XGR_DM not between", value1, value2, "xgrDm");
            return (Criteria) this;
        }

        public Criteria andXgrqIsNull() {
            addCriterion("XGRQ is null");
            return (Criteria) this;
        }

        public Criteria andXgrqIsNotNull() {
            addCriterion("XGRQ is not null");
            return (Criteria) this;
        }

        public Criteria andXgrqEqualTo(Date value) {
            addCriterion("XGRQ =", value, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqNotEqualTo(Date value) {
            addCriterion("XGRQ <>", value, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqGreaterThan(Date value) {
            addCriterion("XGRQ >", value, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqGreaterThanOrEqualTo(Date value) {
            addCriterion("XGRQ >=", value, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqLessThan(Date value) {
            addCriterion("XGRQ <", value, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqLessThanOrEqualTo(Date value) {
            addCriterion("XGRQ <=", value, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqIn(List<Date> values) {
            addCriterion("XGRQ in", values, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqNotIn(List<Date> values) {
            addCriterion("XGRQ not in", values, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqBetween(Date value1, Date value2) {
            addCriterion("XGRQ between", value1, value2, "xgrq");
            return (Criteria) this;
        }

        public Criteria andXgrqNotBetween(Date value1, Date value2) {
            addCriterion("XGRQ not between", value1, value2, "xgrq");
            return (Criteria) this;
        }

        public Criteria andLrrDmIsNull() {
            addCriterion("LRR_DM is null");
            return (Criteria) this;
        }

        public Criteria andLrrDmIsNotNull() {
            addCriterion("LRR_DM is not null");
            return (Criteria) this;
        }

        public Criteria andLrrDmEqualTo(Object value) {
            addCriterion("LRR_DM =", value, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmNotEqualTo(Object value) {
            addCriterion("LRR_DM <>", value, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmGreaterThan(Object value) {
            addCriterion("LRR_DM >", value, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmGreaterThanOrEqualTo(Object value) {
            addCriterion("LRR_DM >=", value, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmLessThan(Object value) {
            addCriterion("LRR_DM <", value, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmLessThanOrEqualTo(Object value) {
            addCriterion("LRR_DM <=", value, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmIn(List<Object> values) {
            addCriterion("LRR_DM in", values, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmNotIn(List<Object> values) {
            addCriterion("LRR_DM not in", values, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmBetween(Object value1, Object value2) {
            addCriterion("LRR_DM between", value1, value2, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrDmNotBetween(Object value1, Object value2) {
            addCriterion("LRR_DM not between", value1, value2, "lrrDm");
            return (Criteria) this;
        }

        public Criteria andLrrqIsNull() {
            addCriterion("LRRQ is null");
            return (Criteria) this;
        }

        public Criteria andLrrqIsNotNull() {
            addCriterion("LRRQ is not null");
            return (Criteria) this;
        }

        public Criteria andLrrqEqualTo(Date value) {
            addCriterion("LRRQ =", value, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqNotEqualTo(Date value) {
            addCriterion("LRRQ <>", value, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqGreaterThan(Date value) {
            addCriterion("LRRQ >", value, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqGreaterThanOrEqualTo(Date value) {
            addCriterion("LRRQ >=", value, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqLessThan(Date value) {
            addCriterion("LRRQ <", value, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqLessThanOrEqualTo(Date value) {
            addCriterion("LRRQ <=", value, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqIn(List<Date> values) {
            addCriterion("LRRQ in", values, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqNotIn(List<Date> values) {
            addCriterion("LRRQ not in", values, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqBetween(Date value1, Date value2) {
            addCriterion("LRRQ between", value1, value2, "lrrq");
            return (Criteria) this;
        }

        public Criteria andLrrqNotBetween(Date value1, Date value2) {
            addCriterion("LRRQ not between", value1, value2, "lrrq");
            return (Criteria) this;
        }

        public Criteria andZsfbzIsNull() {
            addCriterion("ZSFBZ is null");
            return (Criteria) this;
        }

        public Criteria andZsfbzIsNotNull() {
            addCriterion("ZSFBZ is not null");
            return (Criteria) this;
        }

        public Criteria andZsfbzEqualTo(Object value) {
            addCriterion("ZSFBZ =", value, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzNotEqualTo(Object value) {
            addCriterion("ZSFBZ <>", value, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzGreaterThan(Object value) {
            addCriterion("ZSFBZ >", value, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzGreaterThanOrEqualTo(Object value) {
            addCriterion("ZSFBZ >=", value, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzLessThan(Object value) {
            addCriterion("ZSFBZ <", value, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzLessThanOrEqualTo(Object value) {
            addCriterion("ZSFBZ <=", value, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzIn(List<Object> values) {
            addCriterion("ZSFBZ in", values, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzNotIn(List<Object> values) {
            addCriterion("ZSFBZ not in", values, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzBetween(Object value1, Object value2) {
            addCriterion("ZSFBZ between", value1, value2, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andZsfbzNotBetween(Object value1, Object value2) {
            addCriterion("ZSFBZ not between", value1, value2, "zsfbz");
            return (Criteria) this;
        }

        public Criteria andXsxhIsNull() {
            addCriterion("XSXH is null");
            return (Criteria) this;
        }

        public Criteria andXsxhIsNotNull() {
            addCriterion("XSXH is not null");
            return (Criteria) this;
        }

        public Criteria andXsxhEqualTo(Long value) {
            addCriterion("XSXH =", value, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhNotEqualTo(Long value) {
            addCriterion("XSXH <>", value, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhGreaterThan(Long value) {
            addCriterion("XSXH >", value, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhGreaterThanOrEqualTo(Long value) {
            addCriterion("XSXH >=", value, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhLessThan(Long value) {
            addCriterion("XSXH <", value, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhLessThanOrEqualTo(Long value) {
            addCriterion("XSXH <=", value, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhIn(List<Long> values) {
            addCriterion("XSXH in", values, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhNotIn(List<Long> values) {
            addCriterion("XSXH not in", values, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhBetween(Long value1, Long value2) {
            addCriterion("XSXH between", value1, value2, "xsxh");
            return (Criteria) this;
        }

        public Criteria andXsxhNotBetween(Long value1, Long value2) {
            addCriterion("XSXH not between", value1, value2, "xsxh");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}